package com.jichangxiu.server.platform.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import com.jichangxiu.common.entity.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("platform_dict_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "字典类型实体")
public class PlatformDictType extends BaseEntity implements Serializable {

    @Schema(description = "字典ID")
    @TableId(value = "dict_id", type = IdType.ASSIGN_UUID)
    private String dictId;

    @TableField("dict_no")
    @Schema(description = "字典编码")
    private String dictNo;

    @TableField("dict_code")
    @Schema(description = "字典标识")
    private String dictCode;

    @TableField("dict_name")
    @Schema(description = "字典名称")
    private String dictName;

    @TableField("dict_type")
    @Schema(description = "字典类型")
    private String dictType;

    @TableField("tenant_id")
    @Schema(description = "租户ID")
    private String tenantId;

    @TableField("status")
    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @TableField("remark")
    @Schema(description = "备注")
    private String remark;

    @TableLogic
    @TableField("deleted")
    @Schema(description = "是否删除（0否 1是）")
    private String deleted;

}
